package se.kth.id2212.market;

import java.rmi.Remote;
import java.rmi.RemoteException;

import se.kth.id2212.bankjdbc.RejectedException;

public interface Trader extends Remote {

    public boolean buyItem(String item) throws RemoteException, RejectedException;

    public void sellItem(String item, float price) throws RemoteException;
}
